package com.booby.spring;

import com.booby.spring.config.MazhichuConfig;
import com.booby.spring.repository.Hello;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 功能描述:  https://www.cnblogs.com/mazhichu/p/13163979.html
 *
 * @author: lizt
 * @date: 2020/11/4 01:59
 **/

public class TestHelloBean {
	public static void main(String[] args) {

//		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(MazhichuConfig.class);
//		Hello hello = ac.getBean(Hello.class);
//		hello.hello();

		ClassPathXmlApplicationContext ac = new ClassPathXmlApplicationContext("");
		ac.getBean("");


	}
}
